Skip to content

Comments

Inline markdown#5

Merged
codedstructure merged 11 commits intomainfrom
inline_markdown
Feb 18, 2026
Merged

Inline markdown#5
codedstructure merged 11 commits intomainfrom
inline_markdown

Conversation

@megamaths
Copy link
Collaborator

Added inline markdown like ability to add italics bold and monospaced (via */_, **/__, `) through the new md attribute instead of the text attribute.

Copy link
Owner

@codedstructure codedstructure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In testing, inline code format doesn't work fully, e.g. md="test `a*` test" should show a* in monospace, but doesn't. Try testing against the github comment preview window!

The markdown parsing / splitting should be extracted to a separate markdown.rs file.

Copy link
Owner

@codedstructure codedstructure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a basic example in examples/markdown.xml would be useful, even something as simple as the following, though multiple lines etc would be better.

<svg>
  <rect wh="50 10" md="**Hello** _Markdown_ `world`!"/>
</svg>

@codedstructure codedstructure merged commit 1487abf into main Feb 18, 2026
1 check passed
@codedstructure codedstructure deleted the inline_markdown branch February 18, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants